package com.it.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReportVo {
    //报案号Id
    private String reportNo;
    //保单号
    private String policyId;
    //被保险人
    private String insuredName;
    //报案人姓名
    private String reporterName;
    //报案人联系电话
    private String reporterPhone;
    //灾祸类型
    private String disasterType;
    //灾害发生时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime disasterOccurTime;
    //灾祸发生地点
    private String disasterLocation;
    //预计查勘时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime scheduledStartTime;
    //查勘员工号
    private String surveyorWorkNo;

}
